<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="UTF-8" />
		<meta http-equiv="X-UA-Compatible" content="IE=edge" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<title>Document</title>
	</head>
	<body>
		<script>
			// Number类属性
			console.log(Number.MAX_VALUE)
			console.log(Number.MAX_SAFE_INTEGER)
			console.log(Number.MIN_VALUE)
			console.log(Number.MIN_SAFE_INTEGER)

			// Number 方法
			var num = 1000.1212
			console.log(num.toString(2))
			console.log(num.toFixed(2))

			// 类方法
			var num1 = '123.321ffsadf'
			console.log(Number.parseInt(num1))
			console.log(Number.parseFloat(num1))
		</script>
	</body>
</html>
